<template>
  <child :title="msg" :count="10" :flag="true"></child>
  <button @click="changeMsg">点击按钮修改值</button>
</template>

<script setup>
import { ref } from 'vue';
import Child from './Child.vue';
let msg = ref("你好，王承烨的页面");
const changeMsg = () => {
    msg.value = "title值完成修改"
}
</script>

<style>

</style>